﻿@model IEnumerable<IGrouping<string, Wedo.Mvc.Utility.Models.GroupSelect>>
@if (Model != null)
{ 
    <dl>
        @foreach (var item in Model)
        {
            <dt style="font-size:16px">@item.Key</dt>
            foreach (var g in item.GroupBy(m=>m.Group))
            {
            <dd style="border-top: 1px solid #dddddd;">
                @Html.CheckBoxList("Resources", g)
            </dd>
            }
        }
    </dl>
}